package com.xm.service.impl;

import com.xm.mapper.UserMapper;
import com.xm.pojo.Users;
import com.xm.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    public List<Users> selectUserAllSerivce() {
        return this.userMapper.selectUserAllMapper();
    }

    public List<Users> loginUser(Users users) {
        return userMapper.loginUser(users);
    }
}
